package com.laicunba.event.listener;

import org.apache.log4j.Logger;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

import com.laicunba.event.SharedPacketEmptyEvent;

@Component
public class SharedPacketEmptyEventListener implements ApplicationListener<SharedPacketEmptyEvent> {
	private static final Logger LOG = Logger.getLogger(SharedPacketEmptyEventListener.class);

	@Override
	public void onApplicationEvent(SharedPacketEmptyEvent event) {
		LOG.info(String.format("分享红包[%s]最后一个已领取完毕", event.getSource()));

	}

}
